package org.example.model.dish;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.example.model.common.baseClass.IdAndIsDeletedAndSortAnUserIntBase;

import java.util.List;

/**
 * 菜品管理
 */
@Data
@TableName("dish_basic_info")
public class DishBasic extends IdAndIsDeletedAndSortAnUserIntBase {

    //菜品名称
    private String DishName;
    //菜品分类id
    private int CategoryId;
    //菜品价格
    private double Price;
    //菜品图片
    private String Image;
    //售卖状态 1,启售；2,停售
    private int Status;
    //菜品描述
    private String Description;
    //菜品口味列表
    @TableField(exist = false)
    List<DishFlavor> dishFlavors;
}
